<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        img {
            width: 100%;
        }
    </style>
</head>
<img src="./img/loading.gif" data-src="./img/1.jpg" alt="">
<img src="./img/loading.gif" data-src="./img/2.jpg" alt="">
<img src="./img/loading.gif" data-src="./img/3.jpg" alt="">
<img src="./img/loading.gif" data-src="./img/4.jpg" alt="">
<img src="./img/loading.gif" data-src="./img/5.jpg" alt="">

<body>
    <script src="./jq.js"></script>
    <script src="./jquery.lazyload.js"></script>
    <script>
        $('img').lazyLoad()
    </script>
</body>

</html>